/* 
 * File:   GridCell.cpp
 * Author: walther
 * 
 * Created on October 20, 2012, 7:45 PM
 */

#include <vector>

#include "GridCell.h"

GridCell::GridCell( Vector4D min, Vector4D max )
{
    _min = min;
    _max = max;
    _objects.clear();
}



GridCell::~GridCell()
{
    _objects.clear();
}



void GridCell::addObject( int objectID )
{
    _objects.push_back( objectID );
}



Vector4D GridCell::getMin()
{
    return _min;
}



Vector4D GridCell::getMax()
{
    return _max;
}
